package com.elloe.链表.移除链表元素;

/**
 * @author ElloeStudy(Sifa Zhang)
 * @create 2022-04-04 19:07
 * To: 真常应物，真常得性，常清常静，常清静矣
 *
 * 移除链表：
 */
public class RemoveElements {
    public static void main(String[] args) {
       ListNode listNode = new ListNode();
//       remEle([1,2,3,4],4);
    }

    public static ListNode remEle(ListNode head, int val){
        if (head == null){
            return head;
        }
        ListNode dummy = new ListNode(-1, head);
        ListNode pre = dummy;
        ListNode cur = head;
        return head;
    }
}

class ListNode{
    int val;
    ListNode next;

    public ListNode() {
    }

    public ListNode(int val) {
        this.val = val;
    }

    public ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }
}